﻿#ifndef INFOPERSON_H
#define INFOPERSON_H
#include <QString>
#include "fileoperator.h"
#include "modelset.h"
class personInfo
{
public:
    personInfo();
    //设置相关信息
    void setInfo(QString name,QString id);
    //基类返回基类对象指针
    virtual personInfo* next();
    //返回姓名
    QString getName() const;
    //返回id
    QString getId() const;

private:
    QString name;
    QString id;
};

#endif // INFOPERSON_H
